package com.dominator.service;

import com.dominFramework.core.typewrap.Dto;
import com.dominator.utils.api.ApiMessage;
import com.dominator.utils.exception.ApiException;

public interface ApiSmsService {


    /**
     * 注册短信
     *
     * @param dto
     * @return
     * @throws ApiException
     */
    ApiMessage registerSms(Dto dto) throws ApiException;



    /**
     * 登陆短信
     *
     * @param dto
     * @return
     * @throws ApiException
     */
    ApiMessage loginSms(Dto dto) throws ApiException;


    /**
     * 找回密码短信
     *
     * @param dto
     * @return
     * @throws ApiException
     */
    ApiMessage findPasswordSms(Dto dto) throws ApiException;




    /**
     * 设置支付密码短信
     *
     * @param dto
     * @return
     * @throws ApiException
     */
    ApiMessage setPayPasswordSms(Dto dto) throws ApiException;


    /**
     * 充值成功短信
     *
     * @param dto
     * @return
     * @throws ApiException
     */
    ApiMessage rechargeSms(Dto dto) throws ApiException;


    /**
     * 订阅成功短信
     *
     * @param dto
     * @return
     * @throws ApiException
     */
    ApiMessage orderSms(Dto dto) throws ApiException;


    /**
     * 短信验证
     *
     * @param dto
     * @return
     * @throws ApiException
     */
    ApiMessage verifySms(Dto dto) throws ApiException;
}
